import { request } from '@/utils/request';

interface PswLoginInterface {
	phone: string;
	password: string;
}

export class User {
	// 密码登录
	static async passwordLogin(data: PswLoginInterface) {
		return request(`/login/cellphone`, {
			method: 'POST',
			data,
		});
	}
}
